﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using EqRepair.Code.Data;

namespace EqRepair
{
	public partial class _Default : System.Web.UI.Page
	{
		protected void Page_Load(object sender, EventArgs e)
		{

		}

		protected void DetailsView1_ItemInserted(object sender, DetailsViewInsertedEventArgs e)
		{
			using (var db = new DataClasses2DataContext())
			{
				db.SubmitChanges();
				//GridView1.DataBind();
				//Page.Response.Redirect(Page.);
			}
		}
	}
}
